import { http } from '~/composables/http';

export function login(params) {
  return http('/users/login', params, 'POST')
}
export function register(params) {
  return http('/users/register', params, 'POST')
}
export function getUserInfo(params) {
  return http('/users/info', {}, 'GET')
}